package com.dmgis.hndz.service.impl;

import com.dmgis.hndz.mapper.Qxdd01aMapper;
import com.dmgis.hndz.pojo.Qxdd01a;
import com.dmgis.hndz.pojoVo.DataAcquisitionMonitoringInVo;
import com.dmgis.hndz.service.Qxdd01aService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @className Qxdd01aServiceImpl
 * @Description TODO
 * @Author lhfy
 * @Version 1.0
 */
@Service
public class Qxdd01aServiceImpl implements Qxdd01aService {

    @Resource
    private Qxdd01aMapper qxdd01aMapper;

    @Override
    public List<Qxdd01a> dataAcquisitionMonitoring(DataAcquisitionMonitoringInVo dataAcquisitionMonitoringInVo) {
        try{
            return qxdd01aMapper.dataAcquisitionMonitoring(dataAcquisitionMonitoringInVo);
        }catch (Exception e){
            throw e;
        }
    }

    @Override
    public List<Map> getDataAcquisitionType() {
        try{
            return qxdd01aMapper.getDataAcquisitionType();
        }catch (Exception e){
            throw e;
        }
    }

    @Override
    public List<Map> getDataAcquisitionName() {
        try{
            return qxdd01aMapper.getDataAcquisitionName();
        }catch (Exception e){
            throw e;
        }
    }
}
